package cn.trda.mapper;

import java.util.List;

import cn.trda.pojo.Function;
import cn.trda.pojo.FunctionExt;

public interface AsFunctionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Function record);

    int insertSelective(Function record);

    Function selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Function record);

    int updateByPrimaryKey(Function record);
    List<Function> getFunctionByRoleId(Long roleid);
	List<FunctionExt> selectAllFunctions();
}